package com.genius.service;

import com.genius.monitor.pojo.OperationLog;

import java.util.List;

public interface OperationLogService {

    /**
     * 添加操作日志
     * @param operationLog 操作日志信息
     * @return 添加结果
     */
    int insertOperationLog(OperationLog operationLog);

    /**
     * 查询操作日志分页数据
     * @param operationLog 查询条件
     * @return 分页数据
     */
    List<OperationLog> selectOperationLogByPage(OperationLog operationLog);

    /**
     * 删除操作日志
     * @param ids 操作日志id
     * @return 删除行数
     */
    int deleteOperationLogByIds(Long[] ids);
}
